@tailwind base;
@tailwind components;
@tailwind utilities;

/* 安全区域适配 */
@supports (padding: max(0px)) {
  .safe-top {
    padding-top: max(12px, env(safe-area-inset-top));
  }
  
  .safe-bottom {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}